<template>
  <uni-list :border="true">
    <uni-link v-for="item in list" :key="item.url" :href="item.url" :text="item.text"></uni-link>
  </uni-list>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
const list = ref([
  {
    text: '人民网',
    url: '',
  },
  {
    text: '新华网',
    url: '',
  },
  {
    text: '中国网',
    url: 'http://www.china.com.cn/node_8013619.html',
  },
  {
    text: '中国新闻网',
    url: 'https://www.chinanews.com/hr/',
  },
  {
    text: '央视网',
    url: 'http://career.cntv.cn/?spm=C96370.PPDB2vhvSivD.E0NoLLx8hyIZ.17',
  },
])
</script>

<style lang="scss" scoped></style>
